		<div id='right'>
		<!--如果用户登陆-->
		{{if $smarty.session.uname && $smarty.session.uid}}
		<div class='userinfo'>
			{{foreach from=$login item=l}}
			<dl>
				<dt>
					<a href="./index.php?c=Member&uid={{$l.uid}}"><img src="{{$l.face}}" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="./index.php?c=Member&uid={{$l.uid}}">
						<b>{{$l.username}}</b>
					</a>
					<a href="./index.php?c=Member&a=myLevel&uid={{$l.uid}}">
						<i class='level lv{{$l.lv}}' title='Level {{$l.lv}}'></i>
					</a>
				</dd>
				<dd>金币：<a href="./index.php?c=Member&a=myGold&uid={{$l.uid}}" style="color: #888888;">{{$l.point}}<b class='point'></b></a></dd>
				<dd>经验值：{{$l.exp}}</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href="./index.php?c=Member&a=myAnswer&uid={{$l.uid}}">{{$l.answer}}</a></td>
					<td><a href="./index.php?c=Member&a=myAnswer&uid={{$l.uid}}">{{$l.c}}</a></td>
					<td class='last'><a href="./index.php?c=Member&a=myAsk&uid={{$l.uid}}">{{$l.ask}}</a></td>
				</tr>
			</table>
			<ul>
				<li><a href="./index.php?c=Member&a=myAsk&uid={{$l.uid}}">我提问的</a></li>
				<li><a href="./index.php?c=Member&a=myAnswer&uid={{$l.uid}}">我回答的</a></li>
			</ul>
			{{/foreach}}
		</div>
		{{else}}
		 <div class='r-login'>
			<span class='login'><i></i>&nbsp;登录</span>
			<span class='register'><i></i>&nbsp;注册</span>
		</div> 
		{{/if}}
	<div class='clear'></div>
	<div class='star'>
		{{foreach from=$dayStar item=day}}
		<p class='title'>后盾问答之星</p>
		<span class='star-name'>本日回答问题最多的人</span>
		
			<div class='star-info'>
				<div>
					<a href="./index.php?c=Member&uid={{$day.uid}}" class='star-face'>
						<img src="{{$day.face}}" width='48px' height='48px' alt="头像站位"/>
					</a>
					<ul>
						<li><a href="./index.php?c=Member&uid={{$day.uid}}">{{$day.username}}</a></li>
						<i class='level lv{{$day.lv}}' title='Level {{$day.lv}}'></i>
					</ul>
				</div>
				<ul class='star-count'>
					<li>回答数：<span>{{$day.s}}</span></li>
					<li>采纳率：<span>{{$day.c}}</span></li>
				</ul>
			</div>
		{{/foreach}}
		<span class='star-name'>历史回答问题最多的人</span>
		{{foreach from=$historyStar item=h key=k}}
		<div class='star-info'>
			<div>
				<a href="./index.php?c=Member&uid={{$h.uid}}" class='star-face'>
					<img src="{{$h.face}}" width='48px' height='48px' alt="头像站位"/>
				</a>
				<ul>
					<li><a href="./index.php?c=Member&uid={{$h.uid}}">{{$h.username}}</a></li>
					<i class='level lv{{$h.lv}}' title='Level {{$h.lv}}'></i>
				</ul>
			</div>
			<ul class='star-count'>
				<li>回答数：<span>{{$h.answer}}</span></li>
				<li>采纳率：<span>{{$h.c}}</span></li>
			</ul>
		</div>
		{{/foreach}}
	</div>
	<div class='star-list'>
		<p class='title'>后盾问答助人光荣榜</p>
		<div>
			
			<ul class='ul-title'>
				<li>用户名</li>
				<li style='text-align:right;'>帮助过的人数</li>
			</ul>
			<ul class='ul-list'>
			{{foreach from=$helpPeople item=h key=k}}	
				<li>
					<a href="./index.php?c=Member&uid={{$h.uid}}"><i class='rank r{{$k+1}}'></i>{{$h.username}}</a>
					<span>{{$h.accept}}</span>
				</li>
			{{/foreach}}
		
			</ul>
		</div>
	</div>
</div>